package hairdressing;

public class Stop extends Thread
{
    @Override
    public void run()
    {
        while(true)
        {
            if(Hairdressers.num_of_exits==0)
            {
                System.exit(0);
            }
        }
    }
}
